package com.bl.ep.mapper;

import com.bl.ep.bean.NucleicAcidTester;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName NucleicAcidTester
 * @Description 核酸检测员 dao
 * @Author 陈宝梁
 * @Date 2021/11/15 18:14
 * @Version 1.0
 **/
public interface NucleicAcidTesterMapper {
    /**
     * @Method insertSelective
     * @Author 陈宝梁
     * @Description 插入数据
     * @Date 2021/11/16 0:11
     **/
    int insertSelective(NucleicAcidTester nucleicAcidTester);

    /**
     * @Method selectByAccount
     * @Author 陈宝梁
     * @Description 根据工号和密码查找用户
     * @Date 2021/11/16 0:11
     **/
    NucleicAcidTester selectByAccount(@Param("no") String no, @Param("password") String password);

    /**
     * @Method selectByPrimaryId
     * @Author 陈宝梁
     * @Description 根据 id 查询 核酸检测员
     * @Date 2021/11/16 17:11
     **/
    NucleicAcidTester selectByPrimaryId(@Param("id")Long id);

}
